{% extends "base.html" %}
{% block content %}
<div class="p-3">
    <div class="container">
        <div class="row mb-3">
            <div class="col mx-auto mb-3">
                <h2>Edit Review</h2>
                <hr />
                <form method="POST">
                    {% csrf_token %}
                    <p>
                        <label for="comment">Comment:</label>
                        <textarea class="form-control" name="comment" required>{{ template_data.review.comment }}</textarea>
                    </p>
                    <div class="text-start">
                        <button class="btn bg-dark text-white">Edit Review</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{% endblock %}